<script setup>
import { ref } from "vue";
// import Demo from "./components/Demo.vue";
// import Todo from "./components/05-todomvc/01-不拆组件/index.vue";
// import Todo from "./components/05-todomvc/02-拆组件/index.vue";
import Todo from "./components/05-todomvc/03-pinia版本/index.vue";

const isShow = ref(true);
</script>

<template>
  <div>
    <h1>App组件</h1>
    <!-- <button @click="isShow = !isShow">toggle</button> -->
  </div>
  <hr />
  <!-- <Demo v-if="isShow" /> -->

  <Todo />
</template>

<style scoped>
</style>
